#include "ibtm_api.h"

TransFunc TF_AT_TESTTPS2 ;
int TF_AT_TESTTPS2( struct TransEnv *p_te )
{
	testib2_ibpts1_response	*p_rsp_msg = NULL ;
	
	int			nret = 0 ;
	
	nret = IBTMGetStructBlock( p_te , "testib2_ibpts1_response" , sizeof(testib2_ibpts1_response) , (void**) & p_rsp_msg ) ;
	if( nret )
	{
		ERRORLOGG( "IBTMGetStructBlock failed[%d]" , nret );
		return 1;
	}
	
	nret = IBMSGVReceiver_XML_SendResponseAhead( DSCSERIALIZE_XML_DUP_testib2_ibpts1_response_V , p_rsp_msg ) ;
	if( nret )
	{
		ERRORLOGG( "IBMSGVReceiver_XML_SendResponseAhead failed[%d]" , nret );
		return nret;
	}
	else
	{
		INFOLOGG( "IBMSGVReceiver_XML_SendResponseAhead ok" );
	}
	
	return 0;
}

